<!DOCTYPE html>
<html>
<!--
  (C) by Michael Peter Christen, mc (at) yacy.net
  licensed under a Creative Commons Attribution 2.0 Generic License (CC-BY 2.0)
-->
<head>
  <title id="title">YaCy Search Portal</title>
  <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<!--
if you don't see the glyphicons in firefox and you opened this file from a local filesystem,
then a CORS security setting in firefox caused that.
No other browser is that strict and there is no work around. To see the glyphicons in firefox,
open about:config and set security.fileuri.strict_origin_policy to ‘false.’
-->
  <link rel="shortcut icon" type="image/x-icon" href="/favicon.ico" />
  <meta name="Content-Language" content="English, Englisch" />
  <meta name="keywords" content="YaCy HTTP search engine spider indexer java network open free download Mac Windows Linux Software development" />
  <meta name="description" content="Software HTTP Freeware Home Page" />
  <meta name="copyright" content="Michael Christen et al." />
  
  <!-- Ensure proper rendering and touch zooming on mobile devices -->
  <meta name="viewport" content="width=device-width, initial-scale=1">

  <!-- Bootstrap core CSS -->
  <link href="../bootstrap/css/bootstrap.min.css" rel="stylesheet">

  <script src="../bootstrap/js/jquery.min.js"></script>
  <script src="../bootstrap/js/bootstrap.min.js"></script>

  <script src="navigation.js" type="text/javascript"></script>

  <!-- Custom styles for this template, i.e. navigation (move this to base.css) -->
  <link href="../css/bootstrap-base.css" rel="stylesheet">

  <!-- HTML5 shim and Respond.js IE8 support of HTML5 elements and media queries -->
  <!--[if lt IE 9]>
    <script src="../bootstrap/js/html5shiv.js"></script>
    <script src="../bootstrap/js/respond.min.js"></script>
  <![endif]-->

  <!-- old css styles -->
  <link rel="stylesheet" type="text/css" media="all" href="../css/base.css" />
  <link rel="stylesheet" type="text/css" media="screen" href="../css/style.css" />
  <!--[if lt IE 6]>
   <link rel="stylesheet" type="text/css" media="screen" href="../css/oldie.css" />
  <![endif]-->
  <!--[if lte IE 6.0]>
   <link rel="stylesheet" type="text/css" media="screen" href="../css/ie6.css" />
  <![endif]-->
  <!--[if lte IE 7.0]>
   <link rel="stylesheet" type="text/css" media="screen" href="../css/ie7.css" />
  <![endif]-->
</head>
<body id="yacysearch">

  <!-- top navigation -->
  <div class="navbar navbar-default navbar-fixed-top" role="navigation">
    <div class="container-fluid">
      <div class="navbar-header">
        <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse">
          <span class="sr-only">Toggle navigation</span>
          <span class="icon-bar"></span>
          <span class="icon-bar"></span>
          <span class="icon-bar"></span>
        </button>
        <a id="homepage" class="navbar-brand" href="http://yacy.net" style="position:absolute;top:-6px;display:inline;white-space:nowrap;">
          <img id="logo" class="yacylogo" src="../images/YaCyLogo2011_60.png" alt="YaCy" style="height:auto; width:auto; max-width:200px; max-height:32px;vertical-align:middle">
        </a>
        <span id="greeting" style="position:absolute;top:12px;left:80px;display:inline;white-space:nowrap;font-size:2em;">About This Search Portal</span>
      </div>
      <div class="navbar-collapse collapse">
        <ul class="nav navbar-nav navbar-right">
          <li id="header_help" class="dropdown">
            <a href="#" data-toggle="dropdown" class="dropdown-toggle"><span class="glyphicon glyphicon-question-sign"></span></a>
            <ul class="dropdown-menu">
              <li id="header_search"><a href="index.html?">Search Page</a></li>
              <li id="header_profile"><a href="about.html?">About This Page</a></li>
              <li id="header_usage"><a href="usage.html?">Usage of this page templates</a></li>
              <li id="header_tutorial"><a href="http://yacy.net/tutorials/">YaCy Tutorials</a></li>
              <li class="divider"></li>
              <li id="header_download"><a href="http://yacy.net" target="_blank"><i>external</i>&nbsp;&nbsp;&nbsp;Download YaCy</a></li>
              <li id="header_community"><a href="http://forum.yacy.de" target="_blank"><i>external</i>&nbsp;&nbsp;&nbsp;Community (Web Forums)</a></li>
              <li id="header_wiki"><a href="http://wiki.yacy.de" target="_blank"><i>external</i>&nbsp;&nbsp;&nbsp;Project Wiki</a></li>
              <li id="header_git"><a href="https://github.com/yacy/yacy_search_server/commits/master" target="_blank"><i>external</i>&nbsp;&nbsp;&nbsp;Git Repository</a></li>
              <li id="header_bugs"><a href="http://bugs.yacy.net" target="_blank"><i>external</i>&nbsp;&nbsp;&nbsp;Bugtracker</a></li>
            </ul>
          </li>
        </ul>
      </div>
    </div>
  </div>

  <div class="container">

          <div class="page-header">
            <h1>This is a search front-end for YaCy!</h1>
            <p class="lead">Retrieval of search results using YaCys search API and display using AJAX technology.</p>
          </div>

          <h2>Solr, JSON(P) and JavaScript / backbone.js - driven</h2>
          <p>Search results are displayed using AJAX-technology from a Solr server which is embedded into <a href="http://yacy.net">YaCy</a>.
            All search results must be provided by a YaCy search server which includes a Solr with a specialized JSON result writer.
            When a search request is made in one of the search templates, a http request is made to YaCy. The response is done in JSON because that can much better be parsed than XML in JavaScript.
            To overcome the <a href="http://en.wikipedia.org/wiki/Same_origin_policy">same orgin policy</a> in JavaScript, the result is capsuled into a <a href="http://en.wikipedia.org/wiki/JSONP">JSONP</a> response.
            This enables you to run YaCy anywhere and to use the results from this server somewhere else, maybe in static web pages, even from a file system.
            We implemented a proper model view of search results using the <a href="http://en.wikipedia.org/wiki/Model_View_ViewModel">MV*-Fra­me­work</a> <a href="http://backbonejs.org">backbone.js</a>.
          </p>
          <h2>Industry-Strength Search Efficiency</h2>
          <p>Because the search results come right from a <a href="http://lucene.apache.org/solr/">Solr</a> instance using a specialized result writer, these templates can provide industry-strength search portals.
            This is an unique combination of Solr, JSON(P), flexible JavaScript presentation the beautiful YAML4 CSS Framework and the easiness of web index creation with YaCy.
          </p>
          <h2>Standard Compliance</h2>
          <p>There are standards for search request queries (i.e. <a href="http://www.loc.gov/standards/sru/">SRU</a>) and search request responses (i.e. <a href="http://www.opensearch.org">opensearch</a>).
            YaCy provides both! Actually these search templates send SRU requests to YaCy and the jsonp result writer in Solr (inside YaCy) returns a into-JSON transformed version of openseach.
            If you like, then you can also get search results from the same query url by replacing the "wt=yjson"-parameter by "wt=opensearch".
          </p>
          <h2>Beautiful CSS Framework</h2>
          <p>These pages are made with the <a href="https://gitorious.org/yacy/searchpage_template_yaml4">YAML4 CSS Framework</a> and it will serve you very well for the creation of own search portals.
            Just use the template as provided in the git repository (see below: 'Clone This!') and create your own search portal.
          </p>

  </div> <!-- close content container -->

</body>
</html>